package com.song.ejf.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="S_USER")
public class SUser implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String username;
	private String name;
	private String password;
	private String lastModifyTime;
//	设置数据库default
//	columnDefinition="varchar2(2) default '11'",
	@Id
	@Column(name="U_ID",length=32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name="USERNAME",length=20,nullable=false)
	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}
	@Column(name="NAME",length=30,nullable=false)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	@Column(name="PASSWORD",length=32,nullable=false)
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	@Column(name="LAST_MODIFY_TIME",length=19,nullable=false)
	public String getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

}
